Release 10.1A: OpenEdge Development:
Progress 4GL Reference


MENU-ITEM widget

A menu item is an item within a menu or submenu. A menu item can be a rule, a space, or a normal menu item. A normal menu item can be a command or a toggle-box item. Most menu item attributes and all menu item events apply only to normal menu items. You can set up a static menu item within a DEFINE MENU or DEFINE SUB-MENU statement. You can create a dynamic menu item with the CREATE widget statement.

The following is a menu containing four menu items:

Attributes

 
  1. Graphical interfaces only.
  2. Applies to toggle-box items only.
  3. Character interfaces only.
  4. Readable only.
  5. Windows only.
  6. Can be set only before the menu-item widget is realized.

Note: Color and font attributes for a menu item are ignored in Windows.

Methods

The MENU-ITEM widget does not support any methods.

Events

CHOOSE (except for toggle-box items)
VALUE-CHANGED (for toggle-box items only)
 


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095